package com.example.ymm.modules1.entity.hl.ex;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 试卷选题记录
 */

@Data
public class ExPaperGroupQuestion implements Serializable {

    @TableId
    private String groupQuestionId;

    private String questionId;// 题目id

    Integer sort;//排序

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    String paperGroupId;//试卷分组或分类

    String paperId;//发布的试卷id


    /**
     * 以下为题目信息
     */
    @TableField(exist = false)
    private String title;
    @TableField(exist = false)
    private String type;// 题目类型: 单选题，多选题
    @TableField(exist = false)
    String explain;// 解析
    @TableField(exist = false)
    String answer;//答案
    @TableField(exist = false)
    String categoryId;
    @TableField(exist = false)
    String categoryName;

    @TableField(exist = false)
    String pcategoryName;

}
